<?php


namespace App\Exceptions;


use App\Servers\View;

class ViewException extends \Exception
{
    public function render() {
        View::make('error', ['message' => $this->getMessage()]);
    }
}